home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / utility / name.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  1KB  |  61 lines

  1. #ifndef UTILITY_NAME_H
  2. #define UTILITY_NAME_H 1
  3. /*
  4. ** name.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for name.h
  17. */
  18. #ifndef NamedObjectPtr
  19. #define NamedObjectPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for name.h
  23. */
  24.  
  25.  
  26. /*****************************************************************************/
  27.  
  28.  
  29. #ifndef EXEC_TYPES_H
  30. #include <exec/types.h>
  31. #endif
  32.  
  33.  
  34. /*****************************************************************************/
  35.  
  36.  
  37. /* The named object structure */
  38. STRUCT NamedObject
  39.  
  40.     ADDRESS no_Object  /* Your pointer,  for whatever you want */
  41. END STRUCT 
  42.  
  43. /* Tags for AllocNamedObject() */
  44. #define ANO_NameSpace   4000    /* Tag to define namespace  */
  45. #define ANO_UserSpace   4001    /* tag to define userspace  */
  46. #define ANO_Priority    4002    /* tag to define priority   */
  47. #define ANO_Flags   4003    /* tag to define flags      */
  48.  
  49. /* Flags for tag ANO_Flags */
  50. #define NSB_NODUPS  0
  51. #define NSB_CASE    1
  52.  
  53. #define NSF_NODUPS  (1&)  /* Default allow duplicates */
  54. #define NSF_CASE    (2&)    /* Default TO caseless... */
  55.  
  56.  
  57. /*****************************************************************************/
  58.  
  59.  
  60. #endif /* UTILITY_NAME_H */
  61.